package com.ruoyi.project.jiaqin.companyrecruit.service;

import java.util.List;

import com.alibaba.fastjson.JSONObject;
import com.github.pagehelper.PageInfo;
import com.google.gson.JsonObject;
import com.ruoyi.project.jiaqin.companyrecruit.domain.CompanyRecruit;

/**
 * 企业招聘Service接口
 *
 * @author admin
 * @date 2021-01-13
 */
public interface ICompanyRecruitService
{
    /**
     * 查询企业招聘
     *
     * @param id 企业招聘ID
     * @return 企业招聘
     */
    public CompanyRecruit selectCompanyRecruitById(String id);

    /**
     * 查询企业招聘列表
     *
     * @param companyRecruit 企业招聘
     * @return 企业招聘集合
     */
    public List<CompanyRecruit> selectCompanyRecruitList(CompanyRecruit companyRecruit);
    public JSONObject selectCompanyRecruitByIdA(String id);
    public PageInfo<CompanyRecruit> selectCompanyRecruitPage(Integer pageNum,Integer pageSize,CompanyRecruit companyRecruit);
    /**
     * 新增企业招聘
     *
     * @param companyRecruit 企业招聘
     * @return 结果
     */
    public int insertCompanyRecruit(CompanyRecruit companyRecruit);

    /**
     * 修改企业招聘
     *
     * @param companyRecruit 企业招聘
     * @return 结果
     */
    public int updateCompanyRecruit(CompanyRecruit companyRecruit);

    /**
     * 批量删除企业招聘
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteCompanyRecruitByIds(String ids);

    /**
     * 删除企业招聘信息
     *
     * @param id 企业招聘ID
     * @return 结果
     */
    public int deleteCompanyRecruitById(String id);
}
